﻿namespace Repositories.BDS;

/// <summary>
/// 树模型
/// </summary>
public class BDS_Tree
{
    /// <summary>
    /// 唯一标识
    /// </summary>
    public int indexid { get; set; }
    /// <summary>
    /// 主键
    /// </summary>
    public int id { get; set; }
    /// <summary>
    /// 名称
    /// </summary>
    public string name { get; set; }
    /// <summary>
    /// 节点类型 0 组织 1 专业 2 班级
    /// </summary>
    public int nodetype { get; set; }
    /// <summary>
    /// 内容
    /// </summary>
    public string text { get; set; }
    /// <summary>
    /// 编号
    /// </summary>
    public string code { get; set; }
    /// <summary>
    /// 启用禁用
    /// </summary>
    public int enable { get; set; }
    /// <summary>
    /// 场地区域
    /// </summary>
    public int site_type { get; set; }
    /// <summary>
    /// 是否院系
    /// </summary>
    public int faculty { get; set; }
    /// <summary>
    /// 视频类型
    /// </summary>
    public int videotype { get; set; }
    /// <summary>
    /// 子节点
    /// </summary>
    public List<BDS_Tree>? nodes { get; set; }
    /// <summary>
    /// 是否有课
    /// </summary>
    public bool inclass { get; set; }
    /// <summary>
    /// 录播机设备状态：（0：设备离线；1：设备在线）
    /// </summary>
    public int recorddevicestatus { get; set; }
    /// <summary>
    /// 录播机录制状态：（0:空闲 1:录制中 2:暂停）
    /// </summary>
    public int recordstatus { get; set; }
}
